package com.dmap.run.po;

import java.io.Serializable;

public class RunRecord implements Serializable {
    /**
     * 
     * 表字段 : run_record.id
     */
    private Long id;

    /**
     * 
     * 表字段 : run_record.user_id
     */
    private Long userId;

    /**
     * 跑步开始时间
     * 表字段 : run_record.start_time
     */
    private Long startTime;

    /**
     * 跑步结束时间
     * 表字段 : run_record.end_time
     */
    private Long endTime;

    /**
     * 跑步类型 1.室外跑，2.室内跑
     * 表字段 : run_record.type
     */
    private Integer type;

    /**
     * 数据来源: 1:手机，2:手表
     * 表字段 : run_record.data_source
     */
    private Integer dataSource;

    /**
     * 地区:1国内,2国外
     * 表字段 : run_record.place
     */
    private Integer place;

    /**
     * 距离目标 单位米
     * 表字段 : run_record.distance_goal
     */
    private Integer distanceGoal;

    /**
     * 目标消耗卡路里 大卡
     * 表字段 : run_record.calorie_goal
     */
    private Integer calorieGoal;

    /**
     * 目标跑步时长
     * 表字段 : run_record.time_goal
     */
    private Integer timeGoal;

    /**
     * 爬升高度，单位厘米 cm
     * 表字段 : run_record.altitude
     */
    private Integer altitude;

    /**
     * 步幅 单位(厘米) cm
     * 表字段 : run_record.stride
     */
    private Integer stride;

    /**
     * 卡路里消耗大卡
     * 表字段 : run_record.calorie
     */
    private Integer calorie;

    /**
     * 全程距离 单位米
     * 表字段 : run_record.distance_total
     */
    private Integer distanceTotal;

    /**
     * 总计时间 单位秒
     * 表字段 : run_record.time_total
     */
    private Integer timeTotal;

    /**
     * 总步数
     * 表字段 : run_record.step_num_total
     */
    private Integer stepNumTotal;

    /**
     * 平均配速 秒/公里
     * 表字段 : run_record.speed_average
     */
    private Integer speedAverage;

    /**
     * 最快配速 秒/公里
     * 表字段 : run_record.speed_quickest
     */
    private Integer speedQuickest;

    /**
     * 最慢配速 秒/公里
     * 表字段 : run_record.speed_slowest
     */
    private Integer speedSlowest;

    /**
     * 平均步频 步/分
     * 表字段 : run_record.stride_frequency_average
     */
    private Integer strideFrequencyAverage;

    /**
     * 最快步频 步/分
     * 表字段 : run_record.stride_frequency_quickest
     */
    private Integer strideFrequencyQuickest;

    /**
     * 最慢步频 步/分
     * 表字段 : run_record.stride_frequency_slowest
     */
    private Integer strideFrequencySlowest;

    /**
     * 平均心率 次/分
     * 表字段 : run_record.heart_rate_average
     */
    private Integer heartRateAverage;

    /**
     * 最快心率 次/分
     * 表字段 : run_record.heart_rate_quickest
     */
    private Integer heartRateQuickest;

    /**
     * 最慢心率 次/分
     * 表字段 : run_record.heart_rate_slowest
     */
    private Integer heartRateSlowest;

    /**
     * 
     * 表字段 : run_record.create_time
     */
    private Long createTime;

    /**
     * 
     * 表字段 : run_record.update_time
     */
    private Long updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table run_record
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table run_record
     *
     * @mbggenerated
     */
    public RunRecord(Long id, Long userId, Long startTime, Long endTime, Integer type, Integer dataSource, Integer place, Integer distanceGoal, Integer calorieGoal, Integer timeGoal, Integer altitude, Integer stride, Integer calorie, Integer distanceTotal, Integer timeTotal, Integer stepNumTotal, Integer speedAverage, Integer speedQuickest, Integer speedSlowest, Integer strideFrequencyAverage, Integer strideFrequencyQuickest, Integer strideFrequencySlowest, Integer heartRateAverage, Integer heartRateQuickest, Integer heartRateSlowest, Long createTime, Long updateTime) {
        this.id = id;
        this.userId = userId;
        this.startTime = startTime;
        this.endTime = endTime;
        this.type = type;
        this.dataSource = dataSource;
        this.place = place;
        this.distanceGoal = distanceGoal;
        this.calorieGoal = calorieGoal;
        this.timeGoal = timeGoal;
        this.altitude = altitude;
        this.stride = stride;
        this.calorie = calorie;
        this.distanceTotal = distanceTotal;
        this.timeTotal = timeTotal;
        this.stepNumTotal = stepNumTotal;
        this.speedAverage = speedAverage;
        this.speedQuickest = speedQuickest;
        this.speedSlowest = speedSlowest;
        this.strideFrequencyAverage = strideFrequencyAverage;
        this.strideFrequencyQuickest = strideFrequencyQuickest;
        this.strideFrequencySlowest = strideFrequencySlowest;
        this.heartRateAverage = heartRateAverage;
        this.heartRateQuickest = heartRateQuickest;
        this.heartRateSlowest = heartRateSlowest;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table run_record
     *
     * @mbggenerated
     */
    public RunRecord() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.id
     *
     * @return the value of run_record.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.id
     *
     * @param id the value for run_record.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.user_id
     *
     * @return the value of run_record.user_id
     *
     * @mbggenerated
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.user_id
     *
     * @param userId the value for run_record.user_id
     *
     * @mbggenerated
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.start_time
     *
     * @return the value of run_record.start_time
     *
     * @mbggenerated
     */
    public Long getStartTime() {
        return startTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.start_time
     *
     * @param startTime the value for run_record.start_time
     *
     * @mbggenerated
     */
    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.end_time
     *
     * @return the value of run_record.end_time
     *
     * @mbggenerated
     */
    public Long getEndTime() {
        return endTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.end_time
     *
     * @param endTime the value for run_record.end_time
     *
     * @mbggenerated
     */
    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.type
     *
     * @return the value of run_record.type
     *
     * @mbggenerated
     */
    public Integer getType() {
        return type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.type
     *
     * @param type the value for run_record.type
     *
     * @mbggenerated
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.data_source
     *
     * @return the value of run_record.data_source
     *
     * @mbggenerated
     */
    public Integer getDataSource() {
        return dataSource;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.data_source
     *
     * @param dataSource the value for run_record.data_source
     *
     * @mbggenerated
     */
    public void setDataSource(Integer dataSource) {
        this.dataSource = dataSource;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.place
     *
     * @return the value of run_record.place
     *
     * @mbggenerated
     */
    public Integer getPlace() {
        return place;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.place
     *
     * @param place the value for run_record.place
     *
     * @mbggenerated
     */
    public void setPlace(Integer place) {
        this.place = place;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.distance_goal
     *
     * @return the value of run_record.distance_goal
     *
     * @mbggenerated
     */
    public Integer getDistanceGoal() {
        return distanceGoal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.distance_goal
     *
     * @param distanceGoal the value for run_record.distance_goal
     *
     * @mbggenerated
     */
    public void setDistanceGoal(Integer distanceGoal) {
        this.distanceGoal = distanceGoal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.calorie_goal
     *
     * @return the value of run_record.calorie_goal
     *
     * @mbggenerated
     */
    public Integer getCalorieGoal() {
        return calorieGoal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.calorie_goal
     *
     * @param calorieGoal the value for run_record.calorie_goal
     *
     * @mbggenerated
     */
    public void setCalorieGoal(Integer calorieGoal) {
        this.calorieGoal = calorieGoal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.time_goal
     *
     * @return the value of run_record.time_goal
     *
     * @mbggenerated
     */
    public Integer getTimeGoal() {
        return timeGoal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.time_goal
     *
     * @param timeGoal the value for run_record.time_goal
     *
     * @mbggenerated
     */
    public void setTimeGoal(Integer timeGoal) {
        this.timeGoal = timeGoal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.altitude
     *
     * @return the value of run_record.altitude
     *
     * @mbggenerated
     */
    public Integer getAltitude() {
        return altitude;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.altitude
     *
     * @param altitude the value for run_record.altitude
     *
     * @mbggenerated
     */
    public void setAltitude(Integer altitude) {
        this.altitude = altitude;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.stride
     *
     * @return the value of run_record.stride
     *
     * @mbggenerated
     */
    public Integer getStride() {
        return stride;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.stride
     *
     * @param stride the value for run_record.stride
     *
     * @mbggenerated
     */
    public void setStride(Integer stride) {
        this.stride = stride;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.calorie
     *
     * @return the value of run_record.calorie
     *
     * @mbggenerated
     */
    public Integer getCalorie() {
        return calorie;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.calorie
     *
     * @param calorie the value for run_record.calorie
     *
     * @mbggenerated
     */
    public void setCalorie(Integer calorie) {
        this.calorie = calorie;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.distance_total
     *
     * @return the value of run_record.distance_total
     *
     * @mbggenerated
     */
    public Integer getDistanceTotal() {
        return distanceTotal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.distance_total
     *
     * @param distanceTotal the value for run_record.distance_total
     *
     * @mbggenerated
     */
    public void setDistanceTotal(Integer distanceTotal) {
        this.distanceTotal = distanceTotal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.time_total
     *
     * @return the value of run_record.time_total
     *
     * @mbggenerated
     */
    public Integer getTimeTotal() {
        return timeTotal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.time_total
     *
     * @param timeTotal the value for run_record.time_total
     *
     * @mbggenerated
     */
    public void setTimeTotal(Integer timeTotal) {
        this.timeTotal = timeTotal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.step_num_total
     *
     * @return the value of run_record.step_num_total
     *
     * @mbggenerated
     */
    public Integer getStepNumTotal() {
        return stepNumTotal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.step_num_total
     *
     * @param stepNumTotal the value for run_record.step_num_total
     *
     * @mbggenerated
     */
    public void setStepNumTotal(Integer stepNumTotal) {
        this.stepNumTotal = stepNumTotal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.speed_average
     *
     * @return the value of run_record.speed_average
     *
     * @mbggenerated
     */
    public Integer getSpeedAverage() {
        return speedAverage;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.speed_average
     *
     * @param speedAverage the value for run_record.speed_average
     *
     * @mbggenerated
     */
    public void setSpeedAverage(Integer speedAverage) {
        this.speedAverage = speedAverage;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.speed_quickest
     *
     * @return the value of run_record.speed_quickest
     *
     * @mbggenerated
     */
    public Integer getSpeedQuickest() {
        return speedQuickest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.speed_quickest
     *
     * @param speedQuickest the value for run_record.speed_quickest
     *
     * @mbggenerated
     */
    public void setSpeedQuickest(Integer speedQuickest) {
        this.speedQuickest = speedQuickest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.speed_slowest
     *
     * @return the value of run_record.speed_slowest
     *
     * @mbggenerated
     */
    public Integer getSpeedSlowest() {
        return speedSlowest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.speed_slowest
     *
     * @param speedSlowest the value for run_record.speed_slowest
     *
     * @mbggenerated
     */
    public void setSpeedSlowest(Integer speedSlowest) {
        this.speedSlowest = speedSlowest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.stride_frequency_average
     *
     * @return the value of run_record.stride_frequency_average
     *
     * @mbggenerated
     */
    public Integer getStrideFrequencyAverage() {
        return strideFrequencyAverage;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.stride_frequency_average
     *
     * @param strideFrequencyAverage the value for run_record.stride_frequency_average
     *
     * @mbggenerated
     */
    public void setStrideFrequencyAverage(Integer strideFrequencyAverage) {
        this.strideFrequencyAverage = strideFrequencyAverage;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.stride_frequency_quickest
     *
     * @return the value of run_record.stride_frequency_quickest
     *
     * @mbggenerated
     */
    public Integer getStrideFrequencyQuickest() {
        return strideFrequencyQuickest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.stride_frequency_quickest
     *
     * @param strideFrequencyQuickest the value for run_record.stride_frequency_quickest
     *
     * @mbggenerated
     */
    public void setStrideFrequencyQuickest(Integer strideFrequencyQuickest) {
        this.strideFrequencyQuickest = strideFrequencyQuickest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.stride_frequency_slowest
     *
     * @return the value of run_record.stride_frequency_slowest
     *
     * @mbggenerated
     */
    public Integer getStrideFrequencySlowest() {
        return strideFrequencySlowest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.stride_frequency_slowest
     *
     * @param strideFrequencySlowest the value for run_record.stride_frequency_slowest
     *
     * @mbggenerated
     */
    public void setStrideFrequencySlowest(Integer strideFrequencySlowest) {
        this.strideFrequencySlowest = strideFrequencySlowest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.heart_rate_average
     *
     * @return the value of run_record.heart_rate_average
     *
     * @mbggenerated
     */
    public Integer getHeartRateAverage() {
        return heartRateAverage;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.heart_rate_average
     *
     * @param heartRateAverage the value for run_record.heart_rate_average
     *
     * @mbggenerated
     */
    public void setHeartRateAverage(Integer heartRateAverage) {
        this.heartRateAverage = heartRateAverage;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.heart_rate_quickest
     *
     * @return the value of run_record.heart_rate_quickest
     *
     * @mbggenerated
     */
    public Integer getHeartRateQuickest() {
        return heartRateQuickest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.heart_rate_quickest
     *
     * @param heartRateQuickest the value for run_record.heart_rate_quickest
     *
     * @mbggenerated
     */
    public void setHeartRateQuickest(Integer heartRateQuickest) {
        this.heartRateQuickest = heartRateQuickest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.heart_rate_slowest
     *
     * @return the value of run_record.heart_rate_slowest
     *
     * @mbggenerated
     */
    public Integer getHeartRateSlowest() {
        return heartRateSlowest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.heart_rate_slowest
     *
     * @param heartRateSlowest the value for run_record.heart_rate_slowest
     *
     * @mbggenerated
     */
    public void setHeartRateSlowest(Integer heartRateSlowest) {
        this.heartRateSlowest = heartRateSlowest;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.create_time
     *
     * @return the value of run_record.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.create_time
     *
     * @param createTime the value for run_record.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column run_record.update_time
     *
     * @return the value of run_record.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column run_record.update_time
     *
     * @param updateTime the value for run_record.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table run_record
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", startTime=").append(startTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", type=").append(type);
        sb.append(", dataSource=").append(dataSource);
        sb.append(", place=").append(place);
        sb.append(", distanceGoal=").append(distanceGoal);
        sb.append(", calorieGoal=").append(calorieGoal);
        sb.append(", timeGoal=").append(timeGoal);
        sb.append(", altitude=").append(altitude);
        sb.append(", stride=").append(stride);
        sb.append(", calorie=").append(calorie);
        sb.append(", distanceTotal=").append(distanceTotal);
        sb.append(", timeTotal=").append(timeTotal);
        sb.append(", stepNumTotal=").append(stepNumTotal);
        sb.append(", speedAverage=").append(speedAverage);
        sb.append(", speedQuickest=").append(speedQuickest);
        sb.append(", speedSlowest=").append(speedSlowest);
        sb.append(", strideFrequencyAverage=").append(strideFrequencyAverage);
        sb.append(", strideFrequencyQuickest=").append(strideFrequencyQuickest);
        sb.append(", strideFrequencySlowest=").append(strideFrequencySlowest);
        sb.append(", heartRateAverage=").append(heartRateAverage);
        sb.append(", heartRateQuickest=").append(heartRateQuickest);
        sb.append(", heartRateSlowest=").append(heartRateSlowest);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}